﻿
namespace Common
{
    public class LogHelper
    {
        public static void Error(string message, string title = "logError")
        {
            log4net.ILog log = log4net.LogManager.GetLogger(title);
            log.Error(message);
        }
        public static void Info(string message, string title = "logError")
        {
            log4net.ILog log = log4net.LogManager.GetLogger(title);
            log.Info(message);
        }
        public static void MessageError(string message)
        {
            Error(message, "logMessage");
        }
        public static void MessageInfo(string message)
        {
            Info(message, "logMessage");
        }
        public static void InfoInfo(string message)
        {
            Info(message, "logInfo");
        }
        public static void InfoError(string message)
        {
            Error(message, "logInfo");
        }
    }
}
